I = <g(x)> if and only if g(x) is a nonzero polynomial of minimum degree in I.